
import { RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw[] = [
  {
    path: '/',
    redirect: '/home'
  },
  {
    path: '/home',
    name: 'Home',
    meta: {
      title: '首页',
    },
    component: () => import('../views/home/Home.vue')
  },
  {
    path: '/myPageName',
    name: 'MyPageName',
    meta: {
      title: '首页',
    },
    component: () => import('../views/myPageName/MyPageName.vue')
  }
]

export {
  routes
}